package com.android.youwenchuang.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

import org.greenrobot.greendao.annotation.Generated;

@Entity(
        indexes = {
                @Index(value = "date DESC")
        }
)
public class Goods {
    @Id(autoincrement = true)
    private Long id;

    private String name;
    private String price;

    // 类型
    private String type;

    private String content;

    private String pics;

    // 发布人
    private String user;
    private java.util.Date date;
@Generated(hash = 975834433)
public Goods(Long id, String name, String price, String type, String content,
        String pics, String user, java.util.Date date) {
    this.id = id;
    this.name = name;
    this.price = price;
    this.type = type;
    this.content = content;
    this.pics = pics;
    this.user = user;
    this.date = date;
}
@Generated(hash = 1770709345)
public Goods() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getName() {
    return this.name;
}
public void setName(String name) {
    this.name = name;
}
public String getPrice() {
    return this.price;
}
public void setPrice(String price) {
    this.price = price;
}
public String getType() {
    return this.type;
}
public void setType(String type) {
    this.type = type;
}
public String getContent() {
    return this.content;
}
public void setContent(String content) {
    this.content = content;
}
public String getPics() {
    return this.pics;
}
public void setPics(String pics) {
    this.pics = pics;
}
public String getUser() {
    return this.user;
}
public void setUser(String user) {
    this.user = user;
}
public java.util.Date getDate() {
    return this.date;
}
public void setDate(java.util.Date date) {
    this.date = date;
}
}
